package com.oocl.admin_platform.util;

import java.util.UUID;

public class UUIDEasyUtil {
	public static String[] getUUIDsInCount(int number) {
		if (number < 1) {
			return null;
		}
		String[] ss = new String[number];
		for (int i = 0; i < number; i++) {
			UUID uuid = UUID.randomUUID();
			ss[i] = uuid.toString();
		}
		return ss;
	}
	
	public static void main(String[] args) {
		String []strings=getUUIDsInCount(3);
		for (String string : strings) {
			System.out.println(string);
		}
	}
	
}
